package utils

func MapSet(m map[string]interface{}, key string, value interface{}) string {
	if m == nil {
		return ""
	}
	m[key] = value
	return ""
}
func MapGet(m map[string]interface{}, key string) interface{} {
	if !MapExists(m, key) {
		return nil
	}
	return m[key]
}
func MapExists(m map[string]interface{}, key string) bool {
	if m == nil {
		return false
	}
	_, ok := m[key]
	return ok
}
